<style media="screen" type="text/css">

    .navigation{
        margin:0 auto;
    }

    .navigation ul{
        padding:0;
        margin:0;
        list-style:none;
    }

    .navigation ul li{
        padding:0;
        float:left;
        margin:0px 5px;
        position:relative;
    }

    .navigation ul li a{
        text-decoration:none;
    }

    .navigation ul li a:hover{
        color:#a9a9a9;
        text-decoration:none;
    }

    .navigation ul li ul{
        display:none;
        position:absolute;
        background-color:#fcc;
        padding:10px;
        text-align: left;
        border-width: 5px;  
        border-color:#BBBBBB;
        border-radius:12px; /*Rounded corners. N/A for IE 8 and below.*/
        box-shadow: 0 1px 4px #AAAAAA;
    }

    .navigation ul li ul li{
        float:none;
        padding:5px;
        margin:0;
        width:250px;
        color:#a9a9a9;
        text-decoration:none;
        z-index:100;
    }

    .navigation ul li ul li a{
        color:#000000;
        text-decoration:none;
    }

    .navigation ul li ul li a:hover{
        color:#a9a9a9;
    }

    .navigation ul li:hover > ul{
        display:block;
    }

</style>

<div id="masthead" style="margin-right:15px; padding-left:0px">
    <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
        <tr>
            <td><h1><?php echo isset($pageTitle) ? $pageTitle : "Home Anugerah Group Management System"; ?></h1></td>
            <td id="breadcrumb_right" style="width:800px; text-align: right; padding-right: 0px">
                <div class="navigation" style="float:right">
                    <ul>
                        <?php
                         $useris = $this->userauth->getUserID();
                         
                            
                        ?>
                        <li><a href="<?php echo base_url() . "index.php"; ?>"><?php echo $name; ?></a></li>
                        <li style="color:#999">|</li>
                        <li><a href="#" id="help-contents">Help</a></li>
                        <li style="color:#999">|</li>
                        <li><a href="#" onclick="javascript:ganti_password('<?php echo $this->userauth->getUserID() ?>')">Ubah Password</a></li>
                        <li style="color:#999">|</li>
                        <li><?php echo anchor('/admin/logout', 'LogOut'); ?> </li>
                    </ul>
                </div>

            </td>
        </tr>
    </table>
</div>
<script type="text/javascript">
    function ganti_password(kode)
    {
        return GB_showCenter('Reset Password Pengguna', "<?php echo base_url() ?>index.php/management/user_password_edit/" + kode, 500, 850);
    }
    
    function popup_reminder(kode) {
        return GB_showCenter('Mengisi Data Monitoring', '<?php echo base_url() ?>index.php/admin/reminder_edit/' + kode, 500, 850);
    }
</script>
